package com.oracle.test;

import com.oracle.service.AccountService;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class testTx {
    @Test
    public void hahah(){
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        AccountService accountService = (AccountService) context.getBean("accountService");

        accountService.zhuanzhang("张三","李四",1000);
    }
}
